package com.graducationdesign.springboot.entities.Administrator;

/**
 * @author Mr.zhneg
 * @create 2019-11-18-14:38
 */
public class Admin {

    private Integer id;
    private String name;
    private String loginUser;
    private String password;

    public Admin(){

    }

    public Admin(Integer id, String name, String loginUser, String password) {
        this.id = id;
        this.name = name;
        this.loginUser = loginUser;
        this.password = password;
    }

    @Override
    public String toString() {
        return "Admin{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", loginUser='" + loginUser + '\'' +
                ", password='" + password + '\'' +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getLoginUser() {
        return loginUser;
    }

    public void setLoginUser(String loginUser) {
        this.loginUser = loginUser;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
}
